package com.cskaoyan.bean.pojo;

import lombok.Data;

import javax.validation.constraints.NotNull;
import java.util.Date;

@Data
public class GoodsSpecification {

    private Integer id;

    private Integer goodsId;
    @NotNull(message = "商品规格名称不能为空")
    private String specification;
    @NotNull(message = "商品规格值不能为空")
    private String value;

    private String picUrl;

    private Date addTime;

    private Date updateTime;

    private Boolean deleted;


}